package com.cx.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PageDeliveryExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PageDeliveryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPageNumIsNull() {
            addCriterion("page_num is null");
            return (Criteria) this;
        }

        public Criteria andPageNumIsNotNull() {
            addCriterion("page_num is not null");
            return (Criteria) this;
        }

        public Criteria andPageNumEqualTo(Integer value) {
            addCriterion("page_num =", value, "pageNum");
            return (Criteria) this;
        }

        public Criteria andPageNumNotEqualTo(Integer value) {
            addCriterion("page_num <>", value, "pageNum");
            return (Criteria) this;
        }

        public Criteria andPageNumGreaterThan(Integer value) {
            addCriterion("page_num >", value, "pageNum");
            return (Criteria) this;
        }

        public Criteria andPageNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("page_num >=", value, "pageNum");
            return (Criteria) this;
        }

        public Criteria andPageNumLessThan(Integer value) {
            addCriterion("page_num <", value, "pageNum");
            return (Criteria) this;
        }

        public Criteria andPageNumLessThanOrEqualTo(Integer value) {
            addCriterion("page_num <=", value, "pageNum");
            return (Criteria) this;
        }

        public Criteria andPageNumIn(List<Integer> values) {
            addCriterion("page_num in", values, "pageNum");
            return (Criteria) this;
        }

        public Criteria andPageNumNotIn(List<Integer> values) {
            addCriterion("page_num not in", values, "pageNum");
            return (Criteria) this;
        }

        public Criteria andPageNumBetween(Integer value1, Integer value2) {
            addCriterion("page_num between", value1, value2, "pageNum");
            return (Criteria) this;
        }

        public Criteria andPageNumNotBetween(Integer value1, Integer value2) {
            addCriterion("page_num not between", value1, value2, "pageNum");
            return (Criteria) this;
        }

        public Criteria andStartProvinceIsNull() {
            addCriterion("start_province is null");
            return (Criteria) this;
        }

        public Criteria andStartProvinceIsNotNull() {
            addCriterion("start_province is not null");
            return (Criteria) this;
        }

        public Criteria andStartProvinceEqualTo(String value) {
            addCriterion("start_province =", value, "startProvince");
            return (Criteria) this;
        }

        public Criteria andStartProvinceNotEqualTo(String value) {
            addCriterion("start_province <>", value, "startProvince");
            return (Criteria) this;
        }

        public Criteria andStartProvinceGreaterThan(String value) {
            addCriterion("start_province >", value, "startProvince");
            return (Criteria) this;
        }

        public Criteria andStartProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("start_province >=", value, "startProvince");
            return (Criteria) this;
        }

        public Criteria andStartProvinceLessThan(String value) {
            addCriterion("start_province <", value, "startProvince");
            return (Criteria) this;
        }

        public Criteria andStartProvinceLessThanOrEqualTo(String value) {
            addCriterion("start_province <=", value, "startProvince");
            return (Criteria) this;
        }

        public Criteria andStartProvinceLike(String value) {
            addCriterion("start_province like", value, "startProvince");
            return (Criteria) this;
        }

        public Criteria andStartProvinceNotLike(String value) {
            addCriterion("start_province not like", value, "startProvince");
            return (Criteria) this;
        }

        public Criteria andStartProvinceIn(List<String> values) {
            addCriterion("start_province in", values, "startProvince");
            return (Criteria) this;
        }

        public Criteria andStartProvinceNotIn(List<String> values) {
            addCriterion("start_province not in", values, "startProvince");
            return (Criteria) this;
        }

        public Criteria andStartProvinceBetween(String value1, String value2) {
            addCriterion("start_province between", value1, value2, "startProvince");
            return (Criteria) this;
        }

        public Criteria andStartProvinceNotBetween(String value1, String value2) {
            addCriterion("start_province not between", value1, value2, "startProvince");
            return (Criteria) this;
        }

        public Criteria andStartCityIsNull() {
            addCriterion("start_city is null");
            return (Criteria) this;
        }

        public Criteria andStartCityIsNotNull() {
            addCriterion("start_city is not null");
            return (Criteria) this;
        }

        public Criteria andStartCityEqualTo(String value) {
            addCriterion("start_city =", value, "startCity");
            return (Criteria) this;
        }

        public Criteria andStartCityNotEqualTo(String value) {
            addCriterion("start_city <>", value, "startCity");
            return (Criteria) this;
        }

        public Criteria andStartCityGreaterThan(String value) {
            addCriterion("start_city >", value, "startCity");
            return (Criteria) this;
        }

        public Criteria andStartCityGreaterThanOrEqualTo(String value) {
            addCriterion("start_city >=", value, "startCity");
            return (Criteria) this;
        }

        public Criteria andStartCityLessThan(String value) {
            addCriterion("start_city <", value, "startCity");
            return (Criteria) this;
        }

        public Criteria andStartCityLessThanOrEqualTo(String value) {
            addCriterion("start_city <=", value, "startCity");
            return (Criteria) this;
        }

        public Criteria andStartCityLike(String value) {
            addCriterion("start_city like", value, "startCity");
            return (Criteria) this;
        }

        public Criteria andStartCityNotLike(String value) {
            addCriterion("start_city not like", value, "startCity");
            return (Criteria) this;
        }

        public Criteria andStartCityIn(List<String> values) {
            addCriterion("start_city in", values, "startCity");
            return (Criteria) this;
        }

        public Criteria andStartCityNotIn(List<String> values) {
            addCriterion("start_city not in", values, "startCity");
            return (Criteria) this;
        }

        public Criteria andStartCityBetween(String value1, String value2) {
            addCriterion("start_city between", value1, value2, "startCity");
            return (Criteria) this;
        }

        public Criteria andStartCityNotBetween(String value1, String value2) {
            addCriterion("start_city not between", value1, value2, "startCity");
            return (Criteria) this;
        }

        public Criteria andStartAreaIsNull() {
            addCriterion("start_area is null");
            return (Criteria) this;
        }

        public Criteria andStartAreaIsNotNull() {
            addCriterion("start_area is not null");
            return (Criteria) this;
        }

        public Criteria andStartAreaEqualTo(String value) {
            addCriterion("start_area =", value, "startArea");
            return (Criteria) this;
        }

        public Criteria andStartAreaNotEqualTo(String value) {
            addCriterion("start_area <>", value, "startArea");
            return (Criteria) this;
        }

        public Criteria andStartAreaGreaterThan(String value) {
            addCriterion("start_area >", value, "startArea");
            return (Criteria) this;
        }

        public Criteria andStartAreaGreaterThanOrEqualTo(String value) {
            addCriterion("start_area >=", value, "startArea");
            return (Criteria) this;
        }

        public Criteria andStartAreaLessThan(String value) {
            addCriterion("start_area <", value, "startArea");
            return (Criteria) this;
        }

        public Criteria andStartAreaLessThanOrEqualTo(String value) {
            addCriterion("start_area <=", value, "startArea");
            return (Criteria) this;
        }

        public Criteria andStartAreaLike(String value) {
            addCriterion("start_area like", value, "startArea");
            return (Criteria) this;
        }

        public Criteria andStartAreaNotLike(String value) {
            addCriterion("start_area not like", value, "startArea");
            return (Criteria) this;
        }

        public Criteria andStartAreaIn(List<String> values) {
            addCriterion("start_area in", values, "startArea");
            return (Criteria) this;
        }

        public Criteria andStartAreaNotIn(List<String> values) {
            addCriterion("start_area not in", values, "startArea");
            return (Criteria) this;
        }

        public Criteria andStartAreaBetween(String value1, String value2) {
            addCriterion("start_area between", value1, value2, "startArea");
            return (Criteria) this;
        }

        public Criteria andStartAreaNotBetween(String value1, String value2) {
            addCriterion("start_area not between", value1, value2, "startArea");
            return (Criteria) this;
        }

        public Criteria andNowProvinceIsNull() {
            addCriterion("now_province is null");
            return (Criteria) this;
        }

        public Criteria andNowProvinceIsNotNull() {
            addCriterion("now_province is not null");
            return (Criteria) this;
        }

        public Criteria andNowProvinceEqualTo(String value) {
            addCriterion("now_province =", value, "nowProvince");
            return (Criteria) this;
        }

        public Criteria andNowProvinceNotEqualTo(String value) {
            addCriterion("now_province <>", value, "nowProvince");
            return (Criteria) this;
        }

        public Criteria andNowProvinceGreaterThan(String value) {
            addCriterion("now_province >", value, "nowProvince");
            return (Criteria) this;
        }

        public Criteria andNowProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("now_province >=", value, "nowProvince");
            return (Criteria) this;
        }

        public Criteria andNowProvinceLessThan(String value) {
            addCriterion("now_province <", value, "nowProvince");
            return (Criteria) this;
        }

        public Criteria andNowProvinceLessThanOrEqualTo(String value) {
            addCriterion("now_province <=", value, "nowProvince");
            return (Criteria) this;
        }

        public Criteria andNowProvinceLike(String value) {
            addCriterion("now_province like", value, "nowProvince");
            return (Criteria) this;
        }

        public Criteria andNowProvinceNotLike(String value) {
            addCriterion("now_province not like", value, "nowProvince");
            return (Criteria) this;
        }

        public Criteria andNowProvinceIn(List<String> values) {
            addCriterion("now_province in", values, "nowProvince");
            return (Criteria) this;
        }

        public Criteria andNowProvinceNotIn(List<String> values) {
            addCriterion("now_province not in", values, "nowProvince");
            return (Criteria) this;
        }

        public Criteria andNowProvinceBetween(String value1, String value2) {
            addCriterion("now_province between", value1, value2, "nowProvince");
            return (Criteria) this;
        }

        public Criteria andNowProvinceNotBetween(String value1, String value2) {
            addCriterion("now_province not between", value1, value2, "nowProvince");
            return (Criteria) this;
        }

        public Criteria andNowCityIsNull() {
            addCriterion("now_city is null");
            return (Criteria) this;
        }

        public Criteria andNowCityIsNotNull() {
            addCriterion("now_city is not null");
            return (Criteria) this;
        }

        public Criteria andNowCityEqualTo(String value) {
            addCriterion("now_city =", value, "nowCity");
            return (Criteria) this;
        }

        public Criteria andNowCityNotEqualTo(String value) {
            addCriterion("now_city <>", value, "nowCity");
            return (Criteria) this;
        }

        public Criteria andNowCityGreaterThan(String value) {
            addCriterion("now_city >", value, "nowCity");
            return (Criteria) this;
        }

        public Criteria andNowCityGreaterThanOrEqualTo(String value) {
            addCriterion("now_city >=", value, "nowCity");
            return (Criteria) this;
        }

        public Criteria andNowCityLessThan(String value) {
            addCriterion("now_city <", value, "nowCity");
            return (Criteria) this;
        }

        public Criteria andNowCityLessThanOrEqualTo(String value) {
            addCriterion("now_city <=", value, "nowCity");
            return (Criteria) this;
        }

        public Criteria andNowCityLike(String value) {
            addCriterion("now_city like", value, "nowCity");
            return (Criteria) this;
        }

        public Criteria andNowCityNotLike(String value) {
            addCriterion("now_city not like", value, "nowCity");
            return (Criteria) this;
        }

        public Criteria andNowCityIn(List<String> values) {
            addCriterion("now_city in", values, "nowCity");
            return (Criteria) this;
        }

        public Criteria andNowCityNotIn(List<String> values) {
            addCriterion("now_city not in", values, "nowCity");
            return (Criteria) this;
        }

        public Criteria andNowCityBetween(String value1, String value2) {
            addCriterion("now_city between", value1, value2, "nowCity");
            return (Criteria) this;
        }

        public Criteria andNowCityNotBetween(String value1, String value2) {
            addCriterion("now_city not between", value1, value2, "nowCity");
            return (Criteria) this;
        }

        public Criteria andNowAreaIsNull() {
            addCriterion("now_area is null");
            return (Criteria) this;
        }

        public Criteria andNowAreaIsNotNull() {
            addCriterion("now_area is not null");
            return (Criteria) this;
        }

        public Criteria andNowAreaEqualTo(String value) {
            addCriterion("now_area =", value, "nowArea");
            return (Criteria) this;
        }

        public Criteria andNowAreaNotEqualTo(String value) {
            addCriterion("now_area <>", value, "nowArea");
            return (Criteria) this;
        }

        public Criteria andNowAreaGreaterThan(String value) {
            addCriterion("now_area >", value, "nowArea");
            return (Criteria) this;
        }

        public Criteria andNowAreaGreaterThanOrEqualTo(String value) {
            addCriterion("now_area >=", value, "nowArea");
            return (Criteria) this;
        }

        public Criteria andNowAreaLessThan(String value) {
            addCriterion("now_area <", value, "nowArea");
            return (Criteria) this;
        }

        public Criteria andNowAreaLessThanOrEqualTo(String value) {
            addCriterion("now_area <=", value, "nowArea");
            return (Criteria) this;
        }

        public Criteria andNowAreaLike(String value) {
            addCriterion("now_area like", value, "nowArea");
            return (Criteria) this;
        }

        public Criteria andNowAreaNotLike(String value) {
            addCriterion("now_area not like", value, "nowArea");
            return (Criteria) this;
        }

        public Criteria andNowAreaIn(List<String> values) {
            addCriterion("now_area in", values, "nowArea");
            return (Criteria) this;
        }

        public Criteria andNowAreaNotIn(List<String> values) {
            addCriterion("now_area not in", values, "nowArea");
            return (Criteria) this;
        }

        public Criteria andNowAreaBetween(String value1, String value2) {
            addCriterion("now_area between", value1, value2, "nowArea");
            return (Criteria) this;
        }

        public Criteria andNowAreaNotBetween(String value1, String value2) {
            addCriterion("now_area not between", value1, value2, "nowArea");
            return (Criteria) this;
        }

        public Criteria andEndProvinceIsNull() {
            addCriterion("end_province is null");
            return (Criteria) this;
        }

        public Criteria andEndProvinceIsNotNull() {
            addCriterion("end_province is not null");
            return (Criteria) this;
        }

        public Criteria andEndProvinceEqualTo(String value) {
            addCriterion("end_province =", value, "endProvince");
            return (Criteria) this;
        }

        public Criteria andEndProvinceNotEqualTo(String value) {
            addCriterion("end_province <>", value, "endProvince");
            return (Criteria) this;
        }

        public Criteria andEndProvinceGreaterThan(String value) {
            addCriterion("end_province >", value, "endProvince");
            return (Criteria) this;
        }

        public Criteria andEndProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("end_province >=", value, "endProvince");
            return (Criteria) this;
        }

        public Criteria andEndProvinceLessThan(String value) {
            addCriterion("end_province <", value, "endProvince");
            return (Criteria) this;
        }

        public Criteria andEndProvinceLessThanOrEqualTo(String value) {
            addCriterion("end_province <=", value, "endProvince");
            return (Criteria) this;
        }

        public Criteria andEndProvinceLike(String value) {
            addCriterion("end_province like", value, "endProvince");
            return (Criteria) this;
        }

        public Criteria andEndProvinceNotLike(String value) {
            addCriterion("end_province not like", value, "endProvince");
            return (Criteria) this;
        }

        public Criteria andEndProvinceIn(List<String> values) {
            addCriterion("end_province in", values, "endProvince");
            return (Criteria) this;
        }

        public Criteria andEndProvinceNotIn(List<String> values) {
            addCriterion("end_province not in", values, "endProvince");
            return (Criteria) this;
        }

        public Criteria andEndProvinceBetween(String value1, String value2) {
            addCriterion("end_province between", value1, value2, "endProvince");
            return (Criteria) this;
        }

        public Criteria andEndProvinceNotBetween(String value1, String value2) {
            addCriterion("end_province not between", value1, value2, "endProvince");
            return (Criteria) this;
        }

        public Criteria andEndCityIsNull() {
            addCriterion("end_city is null");
            return (Criteria) this;
        }

        public Criteria andEndCityIsNotNull() {
            addCriterion("end_city is not null");
            return (Criteria) this;
        }

        public Criteria andEndCityEqualTo(String value) {
            addCriterion("end_city =", value, "endCity");
            return (Criteria) this;
        }

        public Criteria andEndCityNotEqualTo(String value) {
            addCriterion("end_city <>", value, "endCity");
            return (Criteria) this;
        }

        public Criteria andEndCityGreaterThan(String value) {
            addCriterion("end_city >", value, "endCity");
            return (Criteria) this;
        }

        public Criteria andEndCityGreaterThanOrEqualTo(String value) {
            addCriterion("end_city >=", value, "endCity");
            return (Criteria) this;
        }

        public Criteria andEndCityLessThan(String value) {
            addCriterion("end_city <", value, "endCity");
            return (Criteria) this;
        }

        public Criteria andEndCityLessThanOrEqualTo(String value) {
            addCriterion("end_city <=", value, "endCity");
            return (Criteria) this;
        }

        public Criteria andEndCityLike(String value) {
            addCriterion("end_city like", value, "endCity");
            return (Criteria) this;
        }

        public Criteria andEndCityNotLike(String value) {
            addCriterion("end_city not like", value, "endCity");
            return (Criteria) this;
        }

        public Criteria andEndCityIn(List<String> values) {
            addCriterion("end_city in", values, "endCity");
            return (Criteria) this;
        }

        public Criteria andEndCityNotIn(List<String> values) {
            addCriterion("end_city not in", values, "endCity");
            return (Criteria) this;
        }

        public Criteria andEndCityBetween(String value1, String value2) {
            addCriterion("end_city between", value1, value2, "endCity");
            return (Criteria) this;
        }

        public Criteria andEndCityNotBetween(String value1, String value2) {
            addCriterion("end_city not between", value1, value2, "endCity");
            return (Criteria) this;
        }

        public Criteria andEndAreaIsNull() {
            addCriterion("end_area is null");
            return (Criteria) this;
        }

        public Criteria andEndAreaIsNotNull() {
            addCriterion("end_area is not null");
            return (Criteria) this;
        }

        public Criteria andEndAreaEqualTo(String value) {
            addCriterion("end_area =", value, "endArea");
            return (Criteria) this;
        }

        public Criteria andEndAreaNotEqualTo(String value) {
            addCriterion("end_area <>", value, "endArea");
            return (Criteria) this;
        }

        public Criteria andEndAreaGreaterThan(String value) {
            addCriterion("end_area >", value, "endArea");
            return (Criteria) this;
        }

        public Criteria andEndAreaGreaterThanOrEqualTo(String value) {
            addCriterion("end_area >=", value, "endArea");
            return (Criteria) this;
        }

        public Criteria andEndAreaLessThan(String value) {
            addCriterion("end_area <", value, "endArea");
            return (Criteria) this;
        }

        public Criteria andEndAreaLessThanOrEqualTo(String value) {
            addCriterion("end_area <=", value, "endArea");
            return (Criteria) this;
        }

        public Criteria andEndAreaLike(String value) {
            addCriterion("end_area like", value, "endArea");
            return (Criteria) this;
        }

        public Criteria andEndAreaNotLike(String value) {
            addCriterion("end_area not like", value, "endArea");
            return (Criteria) this;
        }

        public Criteria andEndAreaIn(List<String> values) {
            addCriterion("end_area in", values, "endArea");
            return (Criteria) this;
        }

        public Criteria andEndAreaNotIn(List<String> values) {
            addCriterion("end_area not in", values, "endArea");
            return (Criteria) this;
        }

        public Criteria andEndAreaBetween(String value1, String value2) {
            addCriterion("end_area between", value1, value2, "endArea");
            return (Criteria) this;
        }

        public Criteria andEndAreaNotBetween(String value1, String value2) {
            addCriterion("end_area not between", value1, value2, "endArea");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}